package com.zhanghu.backendZray.service;

import com.zhanghu.backendZray.pojo.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangdong
 * @since 2024-07-20
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 获取用户的角色id集合
     * @param userId
     * @return
     */
    List<Integer> getRoleIdListByUserId(Integer userId);

}
